/**
 * 
 */

package uranium.db.tabelle.autocomplete;

import javax.swing.text.AttributeSet;
import javax.swing.text.BadLocationException;

import org.jdesktop.swingx.autocomplete.AbstractComponentAdaptor;
import org.jdesktop.swingx.autocomplete.Document;

/**
 * @author hunterbit
 */
public class UpperDocument extends Document
{

	@Override
	public void insertString(int arg0, String arg1, AttributeSet arg2) throws BadLocationException
	{

		super.insertString(arg0, arg1.toUpperCase(), arg2);
	}

	/**
	 * @param arg0
	 * @param arg1
	 */
	public UpperDocument(AbstractComponentAdaptor adaptor, boolean flags)
	{
		super(adaptor, flags);
	}

}
